package commonInfrastructure.communication;

import java.io.Serializable;
import java.util.Date;
 
public class Message implements Serializable {
    private Date dateSent;
    private String user;
    private String toUser;
    private String message;
 
    public Date getDateSent() {
        return dateSent;
    } 
 
    public void setDateSent(Date dateSent) {
        this.dateSent = dateSent;
    }
 
    public String getMessage() {
        return message;
    }
 
    public void setMessage(String message) {
        this.message = message;
    }
 
    public String getUser() {
        return user;
    }
 
    public void setUser(String user) {
        this.user = user;
    }

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }
}

